Bell 50 : Locate 0,7 : Centre " THIS PROGRAM WAS WRITTEN USING AMOS. "
Bell 50 : Pen 3 : Locate 0,18 : Centre "PRESS ANY KEY TO CONTINUE" : Wait Key
Cls : Pen 2 : Wait 20
Say "will you type in your name please." : Wait 20 : Say "then press,enter, when you have finished." : Clear Key : Locate 2,7 : Input "TYPE IN YOUR NAME-";AB$ : Curs Off
Say "WELCOMBE To PictureS, and ,LETTORS,."+AB$+"."
POTBLACK2
End Proc
Procedure POTBLACK2
Screen Open 2,350,200,32,Lowres
Set Rainbow 0,1,16,"(1,1,15)","",""
Rainbow 0,56,1,255
Curs Off : Hide
Paper 8 : Pen 2
Bell 50 : Inverse Off : Locate 0,7 : Centre " DO WANT THE MUSIC - Y/N. "
MM=0
Clear Key
Do
F$=Inkey$
If F$="y" Then Bell 50 : Locate 0,22 : Inverse On : Centre "PLEASE WAIT WHILE I LOAD YOUR MUSIC" : Goto ROCK
If F$="Y" Then Bell 50 : Locate 0,22 : Inverse On : Centre "PLEASE WAIT WHILE I LOAD YOUR MUSIC" : Goto ROCK
If F$="n" Then Goto CHOOSE
If F$="N" Then Goto CHOOSE
Loop
ROCK:
Z=Rnd(4)
Do
If Z=1 Then Load "pictures-and-letters:black.abk" : MM=1 : Goto CHOOSE
If Z=2 Then Load "pictures-and-letters:ewok.abk" : MM=1 : Goto CHOOSE
If Z=3 Then Load "pictures-and-letters:lucky.abk" : MM=1 : Goto CHOOSE
If Z=4 Then Load "pictures-and-letters:yaz.abk" : MM=1 : Goto CHOOSE
If Z=0 Then Goto ROCK
Loop
CHOOSE:
Screen Open 2,350,200,32,Lowres
Cls : Curs Off : Hide
Set Rainbow 0,1,16,"(1,1,15)","",""
Rainbow 0,56,1,255 : Bell 50
Paper 9 : Pen 2
Hide : Curs Off : Paper 8 : Pen 2
Flash Off
Paper 8 : Pen 2
Locate ,7 : Centre "PRESS K TO USE THE KEYBOARD"
Locate ,9 : Centre "OR"
Locate ,11 : Centre "PRESS M TO USE THE MOUSE"
Clear Key
Do
Y$=Inkey$
If Y$="k" Then Goto TEST4
If Y$="K" Then Goto TEST4
If Y$="m" Then Goto TEST3
If Y$="M" Then Goto TEST3
Loop
TEST4:
Cls : Rainbow Del 0 : Screen Close 2 : Goto KEYBOARD
TEST3:
Cls : Rainbow Del 0 : Screen Close 2 : Goto MMOUSE
Say "hello,."+AB$+",."+"if you hear this sound ." : Wait 5 : Sam Play 1 : Wait 45 : Say "you are not,pointing at a lettor, when you press, the mouse button." : If MM=1 Then Music 1
Inverse On : Locate 0,28 : Print : Centre "PRESS 9 FOR THE MAIN MENU"
Inverse On : Locate 0,29 : Print : Centre "PRESS 8 FOR A MUSICAL KEYBOARD"
Inverse On : Locate 0,30 : Print : Centre "POINT AT A LETTER AND PRESS A MOUSE KEY"
Clear Key
A=1
Do
A=A+1
If A=400 Then Sam Play 2 : A=1
A$="you have picked the lettor, "
C$="this lettor is, "
V$="well done, this is the lettor, "
G$="lookk,it is the lettor, "
B$=Inkey$
Z=Mouse Zone
K=Mouse Key
Show On
If B$="9" Then POTOFF
If B$="(" Then POTOFF
If B$="*" Then RACKET
If B$="8" Then RACKET
If Z=1 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture q",1 : Say A$+"Q." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=2 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture w",1 : Say C$+"w." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=3 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture e",1 : Say V$+"e." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=4 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture r",1 : Say G$+"r." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=5 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture t",1 : Say A$+"t." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=6 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture y",1 : Say C$+"y." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=7 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture u",1 : Say V$+"u." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=8 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture i",1 : Say G$+"I." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=9 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture o",1 : Say A$+"O." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=10 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture p",1 : Say C$+"P." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=11 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture a",1 : Say V$+"aee." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=12 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture s",1 : Say G$+"S." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=13 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture d",1 : Say A$+"D." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=14 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture f",1 : Say C$+"F." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=15 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture g",1 : Say V$+"G." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=16 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture h",1 : Say G$+"H." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=17 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture j",1 : Say A$+"J." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=18 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture k",1 : Say C$+"K." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=19 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture l",1 : Say V$+"L." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=20 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture z",1 : Say G$+"Z." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=21 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture x",1 : Say A$+"X." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=22 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture c",1 : Say C$+"C." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=23 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture v",1 : Say V$+"V." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=24 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture b",1 : Say G$+"B." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=25 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture n",1 : Say A$+"N." : Wait 350 : Screen Close 1 : Screen To Front 0
If Z=26 and K<>0 Then Hide : A=1 : Load Iff "pictures-and-letters:picture m",1 : Say C$+"M." : Wait 350 : Screen Close 1 : Screen To Front 0